package com.voiceblog.model;

import java.util.Date;

/**
 * Message entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Message implements java.io.Serializable {

	// Fields

	private Integer messageId;
	private Users users;
	private String account;
	private String messageTitle;
	private String messageContent;
	private Short messageState;
	private Date messagetime;

	// Constructors

	/** default constructor */
	public Message() {
	}

	/** full constructor */
	public Message(Users users, String account, String messageTitle,
			String messageContent, Short messageState, Date messagetime) {
		this.users = users;
		this.account = account;
		this.messageTitle = messageTitle;
		this.messageContent = messageContent;
		this.messageState = messageState;
		this.messagetime = messagetime;
	}

	// Property accessors

	public Integer getMessageId() {
		return this.messageId;
	}

	public void setMessageId(Integer messageId) {
		this.messageId = messageId;
	}

	public Users getUsers() {
		return this.users;
	}

	public void setUsers(Users users) {
		this.users = users;
	}

	public String getAccount() {
		return this.account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getMessageTitle() {
		return this.messageTitle;
	}

	public void setMessageTitle(String messageTitle) {
		this.messageTitle = messageTitle;
	}

	public String getMessageContent() {
		return this.messageContent;
	}

	public void setMessageContent(String messageContent) {
		this.messageContent = messageContent;
	}

	public Short getMessageState() {
		return this.messageState;
	}

	public void setMessageState(Short messageState) {
		this.messageState = messageState;
	}

	public Date getMessagetime() {
		return this.messagetime;
	}

	public void setMessagetime(Date messagetime) {
		this.messagetime = messagetime;
	}

}